﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<VietThuongLMS.TinTuc>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div class="wrap_headline">
        <div class="headline">
            <h1>
                Trang tin tức</h1>
        </div>
    </div>
    <div class="wrap_cont_nav">
        <div class="cont_nav">
            <a href='<%=ResolveUrl("~/")%>'>Trang chủ</a>&nbsp;/&nbsp;Tin tức
        </div>
    </div>
    <div class="container">
        <section id="middle">
					<div class="middle_inner">
<!-- __________________________________________________ Start Content -->

						<div class="middle_content">
							<section id="entry">
								<div class="entry_summary">
									<section class="blog">
                                    <% 
                                        if (@Model != null)
                                        {
                                           %>
							                    <article class="post hentry format-standard">
								                    <div class="cmsms_info">
									                    <div class="published">
										                    <span class="cmsms_date_day"><%=@Model.NgayDang.Value.Day%></span>
										                    <span class="cmsms_date_year_mounth"><%=@Model.NgayDang.Value.Year%><br /><span class="mounth"><%=@Model.NgayDang.Value.ToString("MMM")%></span></span>
									                    </div>
									                    <div class="cmsms_post_img" style="background-color:#fabe09;"></div>
									                    <div class="cmsms_like"><a href="#" class="cmsmsLike"><span><%=@Model.LuotXem%></span></a></div>
								                    </div>	
								                    <div class="ovh">
									                    <header class="entry-header">
                                                        <%--<% if (@Model.UrlAvatar != null && @Model.UrlAvatar != "")
                                                           { %>
										                    <div class="cmsms_media">
											                    <figure>
													                    <img src='<%=ResolveUrl("~/Images/TinTuc/")%><%=@Model.UrlAvatar %>' alt="" class="fullwidth" />
											                    </figure>
										                    </div>
                                                        <%} %>--%>
										                    <div class="cmsms_title">
											                    <h1 class="entry-title"><%--<a href="openpost.html">--%><%=@Model.TieuDe%><%--</a>--%></h1>
										                    </div>
										                    <div class="cmsms_post_info">
											                    <%--<span class="user_name">Đăng bởi: <a href="#"><%=@TinTuc.TaiKhoan.HoTen %></a></span>&nbsp;&nbsp;/&nbsp;&nbsp;--%>
											                    <span><a href="#" class="cmsms_comments">Lượt xem: <%=@Model.LuotXem%></a></span>
										                    </div>
									                    </header>
									                    <div class="entry-content">
										                    <%=@Model.NoiDung%>
									                    </div>
									                    <div class="divider"></div>
								                    </div>
							                    </article>
                                        <% }

    %>
										
										
									</section>
								</div>
							</section>
<!-- __________________________________________________ Finish Content -->		

						</div>
					</div>
				</section>
        <script src="<%=ResolveUrl("~/Themes/js/jquery.jPlayer.min.js")%>" type="text/javascript"></script>
        <script src="<%=ResolveUrl("~/Themes/js/jquery.jPlayer.playlist.min.js")%>" type="text/javascript"></script>
        <script src="<%=ResolveUrl("~/Themes/js/jquery.flickrfeed.min.js")%>" type="text/javascript"></script>
        <script src="<%=ResolveUrl("~/Themes/js/jquery.jtweetsanywhere.js")%>" type="text/javascript"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <title><%=Resources.Global.title%> - <%=Resources.Global.tin_tuc%></title>
<style>
.pagination {
    margin: 20px 0;
}
.pagination ul {
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: inline-block;
    margin-bottom: 0;
    margin-left: 0;
}
.pagination ul > li {
    display: inline;
}
.pagination ul > li > a, .pagination ul > li > span {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #FFFFFF;
    border-color: #DDDDDD;
    border-image: none;
    border-style: solid;
    border-width: 1px 1px 1px 0;
    float: left;
    line-height: 20px;
    padding: 4px 12px;
    text-decoration: none;
}
.pagination ul > li > a:hover, .pagination ul > li > a:focus, .pagination ul > .active > a, .pagination ul > .active > span {
    background-color: #F5F5F5;
}
.pagination ul > .active > a, .pagination ul > .active > span {
    color: #999999;
    cursor: default;
}
.pagination ul > .disabled > span, .pagination ul > .disabled > a, .pagination ul > .disabled > a:hover, .pagination ul > .disabled > a:focus {
    background-color: rgba(0, 0, 0, 0);
    color: #999999;
    cursor: default;
}
.pagination ul > li:first-child > a, .pagination ul > li:first-child > span {
    border-bottom-left-radius: 4px;
    border-left-width: 1px;
    border-top-left-radius: 4px;
}
.pagination ul > li:last-child > a, .pagination ul > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}
.pagination-centered {
    text-align: center;
}
.pagination-right {
    text-align: right;
}
.pagination-large ul > li > a, .pagination-large ul > li > span {
    font-size: 17.5px;
    padding: 11px 19px;
}
.pagination-large ul > li:first-child > a, .pagination-large ul > li:first-child > span {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}
.pagination-large ul > li:last-child > a, .pagination-large ul > li:last-child > span {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}
.pagination-mini ul > li:first-child > a, .pagination-small ul > li:first-child > a, .pagination-mini ul > li:first-child > span, .pagination-small ul > li:first-child > span {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}
.pagination-mini ul > li:last-child > a, .pagination-small ul > li:last-child > a, .pagination-mini ul > li:last-child > span, .pagination-small ul > li:last-child > span {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}
.pagination-small ul > li > a, .pagination-small ul > li > span {
    font-size: 11.9px;
    padding: 2px 10px;
}
.pagination-mini ul > li > a, .pagination-mini ul > li > span {
    font-size: 10.5px;
    padding: 0 6px;
}
</style>
</asp:Content>
